package com.example.common.constant;

public interface Constant {


    String PATH_1 = "/m1";

    String PATH_2 = "/m2";

    String PATH_3 = "/m3";

    String ROLE_ADMIN = "role_admin";

    String ROLE_USER = "role_user";

    String LOGIN_PAGE = "/loginPage";

    String HELLO = "/hello";

    String LOGIN_PROCESSING_URL = "/loginProcessingUrl";

    String LOGOUT_URL = "/logoutUrl";

    String CODING_AUTHORITY = "coding";

    String SLEEP_AUTHORITY = "sleep";


    interface ResourceServerId {

        String ORDER_SERVICE = "order-service";

        String BIM_APP ="bim_app";
    }

    // 客户端的权限范围
    interface ClientScope {

        String ADD = "add";
    }

    /**
     * 资源服务器用于验证token是否有效的的账号和密码
     */
    interface ResourceServiceAccount {
        String CLIENT_ID = "resource_server_client_id";

        String CLIENT_SECRET = "resource_server_client_secret";
    }


    /**
     * jwt token 的 签名密钥
     */
    String JWT_ACCESS_TOKEN_CONVERTER_SIGNING_KEY = "hello";


    String MY_CLIENT_DETAIL_SERVICE = "my-client-detail-service";

    String AUTHORITIES = "authorities";

    String PRINCIPAL = "principal";

    String JSON_TOKEN = "jsonToken";

    String REQUEST_PARAMETERS = "requestParameters";
}
